package com.juzipi.inter.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
//vo是用来放多个实体类之间组合的属性
public class UserRoleVo {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String username;
    private String nickname;
    private Date lastLoginTime;
    private String gender;
    private String email;
    private String phoneNumber;

    private Long roleId;
    private String roleName;

}
